﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.Domain.Model
{
    /// <summary>
    /// 表单设计表
    /// </summary>
    [Table("FromInfo")]
    public class FromInfo:Audit
    {
        /// <summary>
        /// 表单设计表主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 表单名称
        /// </summary>
        [Required,Display(Name ="表单名称")]
        public string FromName { get; set; }
        /// <summary>
        /// 表单Json
        /// </summary>
        [Required, Display(Name = "表单Json")]
        public string FromJson { get; set; }
        /// <summary>
        /// 表单详情
        /// </summary>
        [Required, Display(Name = "表单详情")]
        public string FromDesc { get; set; }
    }
}
